﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
namespace Presentation
{
    public partial class Form3 :DevComponents.DotNetBar.Office2007RibbonForm
    {
        public Form3()
        {
            InitializeComponent();
            //styleManager1.ManagerStyle = eStyle.Office2007Black;
            
            
        }

        private void buttonItem14_Click(object sender, EventArgs e)
        {
            foreach (Form i in this.MdiChildren)
            {
                if (i.Name=="TheLoai")
                {
                    this.ActivateMdiChild(i);
                    return;
                }
            }
            frmTheLoai f = new frmTheLoai();
            f.Name = "TheLoai";
            f.MdiParent = this;
            f.Dock = DockStyle.Fill;
            f.Show();
        }

       

        private void cbxStyle_Click(object sender, EventArgs e)
        {
            //asdasdasd
        }

        private void cbxStyle_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        private void mnuLapPhieuNhapSach_Click(object sender, EventArgs e)
        {
            frmLapPhieuNhapSach f = new frmLapPhieuNhapSach();
            f.MdiParent = this;
            f.Dock = DockStyle.Fill;
            f.Show();
        }
    }
}
